<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="">
        <input type="text" name="user">
        <button type="submit">提交</button>
    </form>
</body>

</html>
<script src="./js/jquery.js"></script>
<script>
    $('form').on('submit', function (e) {
        e.preventDefault();
        console.log($(this).serialize())
        console.log(decodeURI($(this).serialize()))
    })
    console.log(encodeURI('中文'))
    console.log(decodeURI('%E4%B8%AD%E6%96%87'))
</script>